package org.datascooter.cglib.proxy;

import java.lang.reflect.Method;

import net.sf.cglib.proxy.MethodInterceptor;
import net.sf.cglib.proxy.MethodProxy;

public class MethodInterceptorImpl implements MethodInterceptor {

	private final Object obj;

	public MethodInterceptorImpl(Object obj) {
		this.obj = obj;
	}

	@Override
	public Object intercept(Object obj, Method method, Object[] args, MethodProxy proxy) throws Throwable {
		System.out.println("------------sdf--------" + method + "-------" + proxy);
		return null;
	}
}
